cmake_minimum_required (VERSION 2.6)

project (segment_rasterization)

find_package(Boost COMPONENTS unit_test_framework REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

add_definitions(-Wall -W -std=c++0x -frounding-math -DBOOST_TEST_DYN_LINK -lboost_unit_test_framework)

link_libraries(CGAL gmp)
link_libraries(gmp gmpxx)

set(CMAKE_BUILD_TYPE RelWithDebInfo)

add_executable (segment_rasterization main.cpp structs.cpp predicates.cpp segment_rasterization.cpp)